package com.ruiben.mall.pojo;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "shop_product_comment")
public class ShopProductComment {
    @Id
    private String id;

    /**
     * 商品的id
     */
    @Column(name = "productId")
    private String productid;

    /**
     * 评论用户的id
     */
    @Column(name = "userId")
    private String userid;

    /**
     * 评价
     */
    private String comment;

    /**
     * 评论图片1
     */
    @Column(name = "commentPic0")
    private String commentpic0;

    /**
     * 评价图片2
     */
    @Column(name = "commentPic1")
    private String commentpic1;

    /**
     * 评价图片3
     */
    @Column(name = "commentPic2")
    private String commentpic2;

    /**
     * 评论时间
     */
    @Column(name = "commentTime")
    private Date commenttime;

    /**
     * 商品订单号
     */
    @Column(name = "orderNo")
    private String orderno;


    @Column(name = "orderId")
    private String orderid;

    /**
     * @return id
     */
    public String getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 获取商品的id
     *
     * @return productId - 商品的id
     */
    public String getProductid() {
        return productid;
    }

    /**
     * 设置商品的id
     *
     * @param productid 商品的id
     */
    public void setProductid(String productid) {
        this.productid = productid;
    }

    /**
     * 获取评论用户的id
     *
     * @return userId - 评论用户的id
     */
    public String getUserid() {
        return userid;
    }

    /**
     * 设置评论用户的id
     *
     * @param userid 评论用户的id
     */
    public void setUserid(String userid) {
        this.userid = userid;
    }

    /**
     * 获取评价
     *
     * @return comment - 评价
     */
    public String getComment() {
        return comment;
    }

    /**
     * 设置评价
     *
     * @param comment 评价
     */
    public void setComment(String comment) {
        this.comment = comment;
    }

    /**
     * 获取评论图片1
     *
     * @return commentPic0 - 评论图片1
     */
    public String getCommentpic0() {
        return commentpic0;
    }

    /**
     * 设置评论图片1
     *
     * @param commentpic0 评论图片1
     */
    public void setCommentpic0(String commentpic0) {
        this.commentpic0 = commentpic0;
    }

    /**
     * 获取评价图片2
     *
     * @return commentPic1 - 评价图片2
     */
    public String getCommentpic1() {
        return commentpic1;
    }

    /**
     * 设置评价图片2
     *
     * @param commentpic1 评价图片2
     */
    public void setCommentpic1(String commentpic1) {
        this.commentpic1 = commentpic1;
    }

    /**
     * 获取评价图片3
     *
     * @return commentPic2 - 评价图片3
     */
    public String getCommentpic2() {
        return commentpic2;
    }

    /**
     * 设置评价图片3
     *
     * @param commentpic2 评价图片3
     */
    public void setCommentpic2(String commentpic2) {
        this.commentpic2 = commentpic2;
    }

    /**
     * 获取评论时间
     *
     * @return commentTime - 评论时间
     */
    public Date getCommenttime() {
        return commenttime;
    }

    /**
     * 设置评论时间
     *
     * @param commenttime 评论时间
     */
    public void setCommenttime(Date commenttime) {
        this.commenttime = commenttime;
    }

    /**
     * 获取商品订单号
     *
     * @return orderNo - 商品订单号
     */
    public String getOrderno() {
        return orderno;
    }

    /**
     * 设置商品订单号
     *
     * @param orderno 商品订单号
     */
    public void setOrderno(String orderno) {
        this.orderno = orderno;
    }

    public String getOrderid() {
        return orderid;
    }

    public void setOrderid(String orderid) {
        this.orderid = orderid;
    }
}